<html>
<head><meta charset="utf-8"><title>Reproducing Chalk problems · wg-traits · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/144729-wg-traits/index.html">wg-traits</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/144729-wg-traits/topic/Reproducing.20Chalk.20problems.html">Reproducing Chalk problems</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="183271804"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/144729-wg-traits/topic/Reproducing%20Chalk%20problems/near/183271804" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/144729-wg-traits/topic/Reproducing.20Chalk.20problems.html#183271804">(Dec 12 2019 at 15:49)</a>:</h4>
<p>Recently, I've seen several various panics in chalk (the most recent one <a href="https://github.com/libp2p/rust-libp2p/blob/2c4b52a545ca051147b03154525aa0e99d36fa2b/swarm/src/lib.rs#L175-L207" target="_blank" title="https://github.com/libp2p/rust-libp2p/blob/2c4b52a545ca051147b03154525aa0e99d36fa2b/swarm/src/lib.rs#L175-L207">here</a>). Should I just try to manually minimize them to a rust-analyzer test-case? </p>
<p>Or should we invest into some kind of tracing/bug-reproducing architecture for Chalk? I imagine if I could just dump everything chalks looks at into JSON, the minization would be faster then from-source minimization?</p>



<a name="183286099"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/144729-wg-traits/topic/Reproducing%20Chalk%20problems/near/183286099" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/144729-wg-traits/topic/Reproducing.20Chalk.20problems.html#183286099">(Dec 12 2019 at 18:22)</a>:</h4>
<p>Hmm</p>



<a name="183286104"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/144729-wg-traits/topic/Reproducing%20Chalk%20problems/near/183286104" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/144729-wg-traits/topic/Reproducing.20Chalk.20problems.html#183286104">(Dec 12 2019 at 18:22)</a>:</h4>
<p>I think both sound useful</p>



<a name="183286121"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/144729-wg-traits/topic/Reproducing%20Chalk%20problems/near/183286121" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/144729-wg-traits/topic/Reproducing.20Chalk.20problems.html#183286121">(Dec 12 2019 at 18:22)</a>:</h4>
<p>But I do think that investment would pay off big time</p>



<a name="183286145"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/144729-wg-traits/topic/Reproducing%20Chalk%20problems/near/183286145" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/144729-wg-traits/topic/Reproducing.20Chalk.20problems.html#183286145">(Dec 12 2019 at 18:23)</a>:</h4>
<p>e.g. that infinite loop bug was fairly easy to fix once we narrowed it down</p>



<a name="183286158"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/144729-wg-traits/topic/Reproducing%20Chalk%20problems/near/183286158" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/144729-wg-traits/topic/Reproducing.20Chalk.20problems.html#183286158">(Dec 12 2019 at 18:23)</a>:</h4>
<p>but getting it to reproduce was a lot of the time</p>



<a name="183292812"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/144729-wg-traits/topic/Reproducing%20Chalk%20problems/near/183292812" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Florian Diebold <a href="https://rust-lang.github.io/zulip_archive/stream/144729-wg-traits/topic/Reproducing.20Chalk.20problems.html#183292812">(Dec 12 2019 at 19:29)</a>:</h4>
<p>I did start building something like that a while ago... the code has probably rotted by now though, and I didn't go very far anyway</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>